package com.appli.ImpossibleQuestSeason1;

import android.app.Activity;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class ImpossibleQuestSeason1Episode0 extends Activity implements	OnClickListener {
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.episode0);
		((Button) findViewById(R.id.ButtonEpisode0)).setOnClickListener(this);

		// Intro Audio
		try {
			MediaPlayer.create(this, R.raw.sample).start();
		} catch (Exception E) {
			E.printStackTrace();
		}
	}

	@Override
	public void onClick(View v) {
		Intent j = new Intent(this, ImpossibleQuestSeason1Episode1.class);
		startActivity(j);
	}
}